package uy.edu.um.ltic.commons;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;
import java.util.List;

import uy.edu.um.ltic.exception.DataBaseException;


public interface EmployeeRemoteMgt extends Remote {

	void addEmployee(EmployeeVO dtEmployee) throws RemoteException, DataBaseException;

	void deleteEmployee(int onEmployee) throws RemoteException, DataBaseException;

	void editEmployee(EmployeeVO oEmployeeVO) throws RemoteException, DataBaseException;
	
	EmployeeVO getEmployeeLogIn(String username) throws RemoteException, DataBaseException;

	List<EmployeeVO> getEmployees(EmployeeVO oEmployeeVO)
			throws RemoteException, DataBaseException;

	void setStatus(String status, int nEmployee) throws RemoteException, DataBaseException;

	EmployeeVO getEmployeeNEmp(int nEmployee) throws RemoteException, DataBaseException;
	
	ArrayList<EmployeeVO> getAllEmployees() throws RemoteException, DataBaseException;
}
